package com.accounting.client.remote;

import java.util.List;

import com.accounting.client.remote.obj.Setting;
import com.accounting.client.remote.obj.SettingKey;
import com.accounting.client.remote.transfer.UpdateSettingsRequest;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface SettingServiceAsync {
	
	public void GetSettings(String passport, AsyncCallback<List<Setting>> callback);
	public void UpdateSetting(String passport, SettingKey key, String value, AsyncCallback<Boolean> callback);
	public void UpdateSettings(String passport, UpdateSettingsRequest request, AsyncCallback<Boolean> callback);
}
